﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArtemisExtensions
{
    public class C_BasicAttributes : C_Component
    {
        public const short ATTR_STAMINA = 1;
        public const short ATTR_WILLPOWER = 2;
        public const short ATTR_STRENGTH = 3;
        public const short ATTR_PERCEPTION = 4;
        public const short ATTR_REFLEXES = 5;
        public const short ATTR_AWARENESS = 6;
        public const short ATTR_AGILITY = 7;
        public const short ATTR_INTELLIGENCE = 8;
        public const short RING_EARTH = 9;
        public const short RING_WATER = 10;
        public const short RING_AIR = 11;
        public const short RING_FIRE = 12;
        public const short RING_VOID = 13;



        public short Stamina
        {
            get;
            set;
        }

        public short Willpower
        {
            get;
            set;
        }

        public short Strength
        {
            get;
            set;
        }

        public short Perception
        {
            get;
            set;
        }

        public short Reflexes
        {
            get;
            set;
        }

        public short Awareness
        {
            get;
            set;
        }

        public short Agility
        {
            get;
            set;
        }

        public short Intelligence
        {
            get;
            set;
        }

        public short Void
        {
            get;
            set;
        }

        public short Earth()
        {
            return (short) (Stamina + Willpower);
        }

        public short Water()
        {
            return (short) (Strength + Perception);
        }

        public short Air()
        {
            return (short) (Reflexes + Awareness);
        }

        public short Fire()
        {
            return (short) (Agility + Intelligence);
        }
    }
}
